﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Search_Product.ascx.cs" Inherits="cbmobile.MasterUser.UC_Page.Search_Product" %>

   <%@ Register Assembly="PQT.Controls" Namespace="PQT.Controls" TagPrefix="pqt" %>

<script language="JAVASCRIPT" type="text/javascript">
    function verify() {
        msg = "Bạn chắc chắn muốn xóa thông tin này không?";
        return confirm(msg);
    } 
</script>


<div class="bann-top"></div>
<div class="assco">
    <h1>Sản phẩm mới về - CBmobile</h1>
    <ul id="ctl00_contprimary_ddlProducts">
                <asp:DataList ID="DL_AccList" runat="server" DataSourceID="EntityDataSource1" 
                    RepeatColumns="4">
                        <ItemTemplate>
                                
                                <li style="list-style:none;">
                                    <a title="CBMobile" href='<%# "InfoDetail.aspx?Ma_SP="+Eval("Ma_SP") %>'>
                                         <img alt="" src='<%#GetImagePath(Eval("HinhAnh")) %>' width="60px" height="45px" />
                                         <span class="price-pk"><asp:Label ID="Label1" runat="server" Text='<%# Eval("Ten_SP") %>'></asp:Label></span>
                                         <span><asp:Label ID="Label2" runat="server" Text='<%# Eval("GiaThiTruong") %>'></asp:Label></span>
                                    </a>
                                </li>
                        </ItemTemplate>
             </asp:DataList>
      </ul>
</div>
<div class="bann-bot"></div>
<asp:EntityDataSource ID="EntityDataSource1" runat="server" 
    ConnectionString="name=CBMobileEntities" 
    DefaultContainerName="CBMobileEntities" EnableFlattening="False" 
    EntitySetName="SanPhams" 
    Select="it.[Ma_SP], it.[HinhAnh], it.[Ten_SP], it.[GiaThiTruong], it.[GiaCongTy]">
</asp:EntityDataSource>
